package bb.lanxing.devices.sync;

import android.content.Context;
import bb.lanxing.lib.devices.sprint.model.SprintMapModel;
import bb.lanxing.lib.devices.sprint.model.impl.ServerSprintMapsModel;
import bb.lanxing.lib.devices.sprint.sync.SprintMapSyncManager;
import bb.lanxing.network.MyHttpClient;
//import bb.lanxing.network.BiciHttpClient;

public class XZSprintMapSyncManager extends SprintMapSyncManager {
    public XZSprintMapSyncManager(Context context, String str) {
        super(context, str);
    }

    @Override
    protected SprintMapModel createServerSprintMapsModel(Context context) {
        return new XZServerSprintMapsModel(context);
    }


    private static class XZServerSprintMapsModel extends ServerSprintMapsModel {
        public XZServerSprintMapsModel(Context context) {
            super(context);
        }

        @Override
        public String getServerMapUrl() {
            return "https://geo." + MyHttpClient.DOMAIN_BASE_PURE + "/maps/v1/map_list.json";
        }
    }
}
